combo box: Add diagrams to CSS documentation
authorMatthias Clasen <mclasen@redhat.com>
Tue, 3 Nov 2015 19:19:08 +0000 (14:19 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 3 Nov 2015 19:27:35 +0000 (14:27 -0500)
gtk/gtkcombobox.c
gtk/gtkcomboboxtext.c

index 6447c6793737584c277a610f92cc2c38b7c2e460..2b6344a730814cc1bd1e0f03f409ac1fc04b46a4 100644 (file)
  *
  * # CSS nodes
  *
+ * |[<!-- language="plain" -->
+ * combobox
+ * ╰── button.combo
+ * ]|
+ *
  * GtkComboBox has a single CSS node with name combobox. It adds the
- * .combo style class to the button (and entry) that it contains.
+ * .combo style class to the button that it contains.
  */
 
 
index df0670f8c95091cc5036d8aa2f452fed29cd0a8c..a465d8be7d4323123a4fff6ed9cbda4d28b9fe5e 100644 (file)
  *   </items>
  * </object>
  * ]|
+ *
+ * # CSS nodes
+ *
+ * |[<!-- language="plain" -->
+ * combobox
+ * ├── entry.combo
+ * ╰── button.combo
+ * ]|
+ *
+ * GtkComboBoxText has a single CSS node with name combobox. It adds
+ * the style class .combo to the main CSS nodes of its entry and button
+ * children.
  */
 
 static void     gtk_combo_box_text_buildable_interface_init     (GtkBuildableIface *iface);